﻿using DapperExtensions.Mapper;
using ZLWeb.WebApiEntityBase;

namespace ZLWeb.WebApiEntity.WechatCardModel
{
    public class RelResult: ResponseResultInfo
    {
        private string _resultsm=string.Empty;

        /// <summary>
        ///  结果：0-未关联在线账户，1-已关联在线账户
        /// </summary>
        public short result { get; set; }

        /// <summary>
        ///  结果：0-未关联在线账户，1-已关联在线账户
        /// </summary>
        public string resultsm
        {
            get { return _resultsm; }
            set { _resultsm = value; }
        }
    }

    public class RelResultMapper : ClassMapper<RelResult>
    {
        public RelResultMapper()
        {
            Table("#relresult");
            Map(f => f.result).Column("result");
            Map(f => f.resultsm).Column("resultsm");
        }
    }
}
